package com.diao.myhub.model.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.diao.myhub.enums.LikeStatusEnum;
import lombok.Data;

@Data
@TableName(value ="question")
public class QuestionVO {
    private Long id;
    private String title;
    private Integer creator;
    private String description;
    private String tag;
    //创建人信息
    private String creatorAvatar;
    private String creatorName;
    private Integer viewCount;
    private Integer commentCount;
    private Integer likeCount;
    private long gmtCreate;
    private long gmtModify;
    // 点赞状态
    private Short likeType = LikeStatusEnum.LIKE_STATUS_UNLIKE.getStatus();

}
